.message_table td{
    text-align: center;
}
.message_table td button{
    margin: 0 auto;
}
.buttonLink{
    display: block;
    width: 60px;
    height: 30px;
    border: 1px solid #2196f3;
    line-height: 30px;
    text-align: center;
    background: #2196f3;
    transition: all 0.1s ease-in;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    border-radius: 3px;
}
.message_main_list{
    box-sizing: border-box;
    border: 1px solid #f1f1f1;
    border-bottom:none;
}
.message_main_list .message_main_single{
    display: flex;
    padding: 15px 45px 15px 50px;
    box-sizing: border-box;
    background-color: #fff;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
    color: #000;
    position: relative;
    cursor: pointer;
}

/* 角标 */
.message_main_single:after{
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border:6px solid transparent;
    border-top-color: rgba(204, 204, 204, 1);
    top: 20px;
    transform-origin: 50% 3px;
    right: 20px;
    transition: all 0.15s ease-in;  
}
.message_main_single:before{
    content: "";
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(204, 204, 204, 1);
    border-radius: 50%;
    left: 20px;
    top: 18px;
    transition: all 0.15s ease-in;  
}       
.message_main_text{
    height: 15px;
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin: 0;
    color: #000;
    line-height: 15px;
    overflow: hidden;
    transition: all 0.15s ease-in;
}
.message_main_time{
    width: 90px;
    flex-shrink: 0;
    flex-grow: 0;
    line-height:15px;
    font-size: 14px;
    height: 15px;
    overflow: hidden;
    transition: all 0.15s ease-in;  
    display: block;
}
.message_main_time>span{
    height: 15px;
    display: block;
    overflow: hidden;
}
.message_main_time>span:last-of-type{
    margin-top: 15px;
    text-indent: -81px;
    transition: all 0.15s ease-in;
}
/* 划过颜色变成黑色 */

.message_main_list .message_main_single:hover{
    color: #000;
    background-color: rgba(245, 245, 245, 1);
}

.message_main_list .message_main_single:hover .message_main_text{
    color: #000;   
}
.message_main_list .message_main_single:hover .message_main_time{
    color: #000;   
}
.message_main_text>a{
    box-sizing: border-box;
    padding-right: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.message_main_text a:hover{
    color: #2196f3;
}

.message_main_single--unread{
    font-weight:bold;
}

/* 已读消息状态 */
.message_main_single--read{

    color: #999;  
    background-color: rgba(245, 245, 245, 1);
}
.message_main_list .message_main_single--read .message_main_text{
    color: #999;  
}

.message_main_list .message_main_single--read .message_main_time{
    color: #999;  
}
.message_main_list  .message_main_single--show{
    color: #000;  
    background-color: rgba(245, 245, 245, 1);
}
.message_main_list  .message_main_single--show:after{
    transform: rotate(180deg);
}
.message_main_list  .message_main_single--show .message_main_time{
    height: 45px;
    color: #000;  
}
.message_main_list  .message_main_single--show .message_main_text{
    height: 45px;
    color: #000;  
}
.message_main_list .message_main_single--user{
    background-color: rgba(245, 245, 245, 1);
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eceaea;
}
.message_main_list .message_main_single--user .message_main_time{
    height: auto;
}
.message_main_list .message_main_single--user .message_main_time>span{
    margin: 0;
    text-indent: 0;
    height: auto;
    line-height: 25px;
}
	
.message_main_single--user .message_main_time{
    height: 50px;
}

.message_main_single--user .message_main_text{
    height: 50px;
    line-height: 25px;
}
.message_main_single--user .message_main_text i{
    padding: 0;
    font-size: 14px;
    margin: 0;
    font-style: normal;
}
.message_main_single--user .message_main_text b{
    padding: 0;
    font-size: 14px;
    margin: 0;
    font-style: normal;
    font-weight: 400;
    box-sizing: border-box;
    padding-right: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 聊天弹出框 */
.message_main_talk{
    width: 700px;
    height: 520px;
    background-color: #fff; 
    display: none;
}
.message_main_title{
    line-height: 40px;
    font-size: 15px;
    color: #000;
    text-align: center;
    padding: 0;
    background-color: #fff;
	border-bottom: solid 1px rgba(230, 230, 230, 1);
}   
.message_main_content{
    height: 350px;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 20px;
    background-color: rgba(245, 245, 245, 1);
}
.message_main_content img{
    display: block;
    border-radius: 50%;
    height: 50px;
    width: 50px;
}
.message_main_content li{
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
}
.message_main_content .message_main_mine {
    justify-content: flex-end;
}
.message_main_usertext{
    display: inline-block;
    border-radius: 5px;
    background-color: #fff;
    padding: 5px;
    box-sizing: border-box;
    position: relative;
    margin-bottom: 0;
    color: #000;
}
.message_main_user p{
    margin-left: 15px;
}
.message_main_usertime{
    width: 100%;
    padding-top: 10px;
}
.message_main_usertime span{
    display: block;
    width: 80px;
    height: 20px;
    text-align: center;
    margin: 0 auto;
    background-color: rgba(230, 230, 230, 1);
    border-radius: 10px 10px 10px 10px;
    border: solid 2px rgba(230, 230, 230, 1);
    font-size: 13px;
    line-height: 15px;
	color: #ffffff;
}
.message_main_user p:after{
    content: "";
    display: block;
    width: 0;
    position: absolute;
    height: 0;
    border: 8px solid transparent;
    border-right-color: #fff;
    left: -18px;
    top:10px;
    transform: scaleX(1.5);
}
.message_main_mine p{
    margin-right: 15px;
}
.message_main_mine p:after{
    content: "";
    display: block;
    width: 0;
    position: absolute;
    height: 0;
    border: 8px solid transparent;
    border-left-color: #fff;
    right: -18px;
    top:10px;
    transform: scaleX(1.5);
}
.message_main_input{
    border-radius: 5px;
        width: calc(100% - 30px);
        height: 50px;
        text-align: left;
        padding: 5px;
        text-indent: 0;
        font-size: 15px;
        color: #000;
        box-sizing: border-box;
        background-color: rgba(255, 255, 255, 1);
        display: block;
        border: solid 1px rgba(230, 230, 230, 1);
        margin: 0 auto;
        margin-top: 20px;
        margin-bottom: 10px;
}
.message_main_submit{
    float: right;
    margin-top: 10px;
    margin-right: 15px;
}
